const numberOrDateArr = [
  {
    label: ">",
    value: ">",
  },
  {
    label: ">=",
    value: ">=",
  },
  {
    label: "<",
    value: "<",
  },
  {
    label: "<=",
    value: "<=",
  },
  {
    label: "==",
    value: "==",
  },
  {
    label: "!=",
    value: "!=",
  },
];
export const operateOption = {
  number: numberOrDateArr,
  int: numberOrDateArr,
  float: numberOrDateArr,
  double: numberOrDateArr,
  date: numberOrDateArr,
  time: numberOrDateArr,
  datetime: numberOrDateArr,
  timestamp: numberOrDateArr,
  bool: [
    {
      label: "等于",
      value: "==",
    },
  ],
  string: [
    {
      label: "开始于",
      value: "STARTS WITH",
    },
    {
      label: "结束于",
      value: "ENDS WITH",
    },
    {
      label: "包含",
      value: "CONTAINS",
    },
    {
      label: "等于",
      value: "==",
    },
  ],
};
